package com.yijianonghu.controller.app.general;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.yijianonghu.util.Constants.AppConstants;
import com.yijianonghu.util.result.Result;

@Controller
@RequestMapping(method=RequestMethod.POST)
public class BillsContentController {

	/**
	 * [sys_web_service]bills_content_list<br/>
	 * @param token
	 * @return
	 * 形如:<br/>
	 * { "success":true, "msg":"操作成功！", "infor":{ "totalCount":"4", "listItems":[ { "id":"9", "name":"化妆品" }, { "id":"8", "name":"家居用品" }, { "id":"7", "name":"办公用品" }, { "id":"6", "name":"农产品" } ] } }
	 */
	@RequestMapping(value=AppConstants.APP_PREFIX+AppConstants.APP_GENERAL_VERSION_REGX+"/bills_content_list")
	public @ResponseBody Result listBillsContent(String token){
		//TODO 如何针对token操作，才能提取出对应的BillsContent
		return null;
	}
}
